Factory Property

Task Parallel System.Threading

Provides access to factory methods for creating Task<(Of <(TResult>)>) instances.

Namespace:  System.Threading.Tasks
Assembly:  System.Threading (in System.Threading.dll)

Syntax

Visual Basic (Declaration)
Public Shared ReadOnly Property Factory As TaskFactory(Of TResult)
C#
public static TaskFactory<TResult> Factory { get; }

Remarks

The factory returned from Factory is a default instance of TaskFactory<(Of <(TResult>)>), as would result from using the default constructor on the factory type.

See Also